<script setup>
import { useRoute } from 'vue-router';
const route = useRoute();
</script>

<template>
  <div>
    <!--  获取路径的参数   -->
    <h1>视频上传，获取参数：{{ route.params.id }}</h1>
  </div>
</template>

<style scoped>
h1 {
  color: #de62ec;
  text-align: left;
}
</style>